package cn.charmaine.org.service;

import cn.charmaine.basic.base.service.IBaseService;
import cn.charmaine.basic.util.PageList;
import cn.charmaine.org.domain.Department;
import cn.charmaine.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
   /* void addDepartment(Department department);

    void deleteDepartmentById(Long id);

    void updateDepartment(Department department);

    Department queryDepartmentById(Long id);

    List<Department> queryDepartmentAll();

   PageList<Department> queryData(DepartmentQuery query);

    void batchDelete(List<Long> ids);*/

    //查询部门树
    List<Department> queryTree();
}
